package com.suql.networktools.service

import com.suql.networktools.bean.TResponse
import com.suql.networktools.bean.UserInfo

import io.reactivex.Observable
import retrofit2.http.Field
import retrofit2.http.FormUrlEncoded
import retrofit2.http.GET
import retrofit2.http.Query


/**
 * @ClassName: UserService
 * @Description: 用户服务接口
 * @Author: pier
 * @Date: 2018/7/25 17:27
 */
interface UserService {

    @GET("mobile/login")
    fun login(@Query("userName") userName: String, @Query("password") password: String): Observable<TResponse<UserInfo>>
}
